import {
	kgRequest
} from "../../config/request";


//我的收藏
export function myCollectApi() {
	return kgRequest.post({
		url: '/user/myCollect',
	})
}

//点赞
export function doLikeApi(skit_id) {
	return kgRequest.post({
		url: '/user/doLike',
		data:{
			skit_id
		}
	})
}

//取消点赞
export function cancelLikeApi(skit_id) {
	return kgRequest.post({
		url: '/user/cancelLike',
		data:{
			skit_id
		}
	})
}

//收藏
export function doCollectApi(skit_id) {
	return kgRequest.post({
		url: '/user/doCollect',
		data:{
			skit_id
		}
	})
}

//取消收藏
export function cancelCollectApi(skit_id) {
	return kgRequest.post({
		url: '/user/cancelCollect',
		data:{
			skit_id
		}
	})
}